from django.urls import path
from . import views

urlpatterns = [
    path('', views.dashboard_view, name='dashboard'),
    path('data-charts-1/', views.data_charts_1_view, name='data_charts_1'),
    path('data-charts-2/', views.data_charts_2_view, name='data_charts_2'),
    path('data-charts-3/', views.data_charts_3_view, name='data_charts_3'),
    path('change-theme/', views.change_theme, name='change_theme'),
    path('basic-setting/', views.basic_setting_view, name='basic_setting'),
    # 用户管理相关URL
    path('users/', views.user_list_view, name='user_list'),
    path('users/add/', views.add_user_view, name='add_user'),
    path('users/edit/<int:user_id>/', views.edit_user_view, name='edit_user'),
    path('users/delete/<int:user_id>/', views.delete_user_view, name='delete_user'),
]